package com.cyf.db.mapper;

import com.cyf.db.bean.LocalInterviewee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 受访者信息
 * Created by cage on 2017/9/18.
 */

public interface LocalIntervieweeMapper {

    @Select("select * from local_interviewee where mobile = #{mobile} and status = 1")
    LocalInterviewee getByMobile(@Param("mobile") String mobile);
}
